package com.bjsxt.shop.users.service;

import java.util.List;
import java.util.Map;

import com.alibaba.fastjson.JSONObject;
import com.bjsxt.shop.common.util.PageInfoUtil;
import com.bjsxt.shop.users.pojo.AAdmins;
import com.bjsxt.shop.users.pojo.ARole;

public interface IUsersService
{
	AAdmins findOneAdminsService(Map<String,Object> condMap);
	JSONObject saveOneAdminsService(AAdmins admins);
	JSONObject updateOneAdminsService(AAdmins admins);
	JSONObject deleteOneAdminsService(AAdmins admins);
	List<AAdmins> findCondListAdminsService(PageInfoUtil pageInfoUtil,Map<String,Object> condMap);
	
	
	ARole findOneRoleService(Map<String,Object> condMap);
	JSONObject saveOneRoleService(ARole role);
	JSONObject updateOneRoleService(ARole role);
	JSONObject deleteOneRoleService(ARole role);
	List<ARole> findCondListRoleService(PageInfoUtil pageInfoUtil,Map<String,Object> condMap);
	
}
